projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa79f6
)
(dframe-frame-mode): Don't burp when menu-bar-lines is nil.
author
Nick Roberts
<nickrob@snap.net.nz>
Wed, 1 Mar 2006 22:59:06 +0000
(22:59 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Wed, 1 Mar 2006 22:59:06 +0000
(22:59 +0000)
lisp/dframe.el
patch
|
blob
|
history
diff --git
a/lisp/dframe.el
b/lisp/dframe.el
index e238a469dd50ed457737e2d474509f0b6784db4f..f77a5059026b49e919ea25e5dc3c5a8fbae9e45c 100644
(file)
--- a/
lisp/dframe.el
+++ b/
lisp/dframe.el
@@
-422,7
+422,7
@@
CREATE-HOOK are hooks to run after creating a frame."
parameters
(append
parameters
- (list (cons 'height (+
mh
(frame-height)))))))
+ (list (cons 'height (+
(or mh 0)
(frame-height)))))))
(params
;; Only add a guessed width if one is not specified
;; in the input parameters.